package com.pxmeta.party.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxmeta.party.entity.Association;
import com.pxmeta.party.entity.AssociationUser;

import java.math.BigDecimal;
import java.util.List;

public interface IAssociationUserService extends IService<AssociationUser> {

    void signing(Long userId, Long associationId, Integer signingTime, BigDecimal finalRate);

    IPage<AssociationUser> getSigningList(Long associationId, Integer status, Integer page, Integer size);

    List<AssociationUser> getUserList(Long associationId);

    void approval(Long associationId,Long userId, Integer status);

    AssociationUser getUserSign(Long userId);


}
